package com.bbc.entity.shop;

import com.bbc.base.BaseQuery;

/**
 * 2012-11-26
 * 
 * @author hanshaofeng
 * 
 */
public class ShopQuery extends BaseQuery {

	private Integer id;
	private Long sid;
	private String cid;
	private String nick;
	private String title;
	private String fromKey;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public String getCid() {
		if ("".equals(cid)) {
			return null;
		}
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getNick() {
		if ("".equals(nick)) {
			return null;
		}
		return nick;
	}

	public void setNick(String nick) {
		this.nick = nick;
	}

	public String getTitle() {
		if ("".equals(title)) {
			return null;
		}
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getFromKey() {
		if ("".equals(fromKey)) {
			return null;
		}
		return fromKey;
	}

	public void setFromKey(String fromKey) {
		this.fromKey = fromKey;
	}

}
